﻿<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>

<head>
<title>订单详情</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../style/adminStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="order"></i><em>订单编号：${order.orderNumber}</em></span>
  </div>
  <dl class="orderDetail">
   <dt class="order-h">订单详情</dt>
   <dd>
    <ul>
    <li>
      <span class="h-cont h-right">付费内容：</span>
       <c:if test="${order.paidContent==0}">
		<span class="h-cont h-left">账号充值</span>	
	</c:if>
	 <c:if test="${order.paidContent==1}">
		<span class="h-cont h-left">流年运势</span>	
	</c:if>
	 <c:if test="${order.paidContent==2}">
		<span class="h-cont h-left">爱情婚姻</span>	
	</c:if>
	 <c:if test="${order.paidContent==3}">
		<span class="h-cont h-left">财运测算</span>	
	</c:if>
	 <c:if test="${order.paidContent==4}">
		<span class="h-cont h-left">健康测算</span>	
	</c:if>
      <c:if test="${order.paidContent==5}">
		<span class="h-cont h-left">事业测算</span>	
	</c:if>
        <c:if test="${order.paidContent==6}">
		<span class="h-cont h-left">功名测算</span>	
	</c:if>
	  <c:if test="${order.paidContent==7}">
		<span class="h-cont h-left">性格测算</span>	
	</c:if>
	
	 <c:if test="${order.paidContent==8}">
		<span class="h-cont h-left">周公解梦</span>	
	</c:if>

	  <c:if test="${order.paidContent==9}">
		<span class="h-cont h-left">塔罗牌</span>	
	</c:if>
	 <c:if test="${order.paidContent==10}">
		<span class="h-cont h-left">起名改名</span>	
	</c:if>
	  <c:if test="${order.paidContent==11}">
		<span class="h-cont h-left">紫薇斗数</span>	
	</c:if>
		  <c:if test="${order.paidContent==12}">
		<span class="h-cont h-left">公司测名</span>	
	</c:if>
		  <c:if test="${order.paidContent==100}">
		<span class="h-cont h-left">大师预约</span>	
		</c:if>
     </li>
     <li>
      <span class="h-cont h-right">占卜姓名：</span> 
      <span class="h-cont h-left">${order.name}</span> 
     </li>
     <li>
      <span class="h-cont h-right">性别：</span> 
      <c:if test="${order.sex==1}">
		<span class="h-cont h-left">男</span>	
		</c:if>
		<c:if test="${order.sex==0}">
		<span class="h-cont h-left">女</span>	
		</c:if>
     </li>
     
     <li>
      <span class="h-cont h-right">出生日期：</span>
      <span class="h-cont h-left">${order.birth}</span>
     </li>
     <li>
      <span class="h-cont h-right">出生时辰：</span>
      <span class="h-cont h-left">${order.btime}:00&nbsp;时</span>
     </li>
     <li>
      <span class="h-cont h-right">公历/农历：</span>
      <c:if test="${order.perhaps==1}">
      <span class="h-cont h-left">农历</span>
      </c:if>
       <c:if test="${order.perhaps==2}">
      <span class="h-cont h-left">公历</span>
      </c:if>
     </li>
     <li>
      <span class="h-cont h-right">交易金额：</span>
      <span class="h-cont h-left">${order.money}</span>
     </li>
      <li>
      <span class="h-cont h-right">是否支付：</span>
      <c:if test="${order.payment==1}">
      <span class="h-cont h-left" title="已支付"><img src="../images/yes.gif"/></span>
      </c:if>
       <c:if test="${order.payment==0}">
      <span class="h-cont h-left" title="未支付"><img src="../images/no.gif"/></span>
      </c:if>
     </li>
      <li>
      <span class="h-cont h-right">支付类型：</span>
      <span class="h-cont h-left">${order.payments}</span>
     </li>
     <li>
      <span class="h-cont h-right">下单时间：</span>
      <span class="h-cont h-left">${fn:substring(order.numberDate, 0, 19)}</span>
     </li>
     <li>
      <span class="h-cont h-right">付款时间：</span>
      <span class="h-cont h-left">${fn:substring(order.moneyDate, 0, 19)}</span>
     </li>
       <li>
      <span class="h-cont h-right">预约时间：</span>
      <span class="h-cont h-left">${fn:substring(order.appointment, 0, 9)}
      <c:if test="${fn:substring(order.appointment,11,12)==1}">
      <span>上午 8:00</span>
      </c:if>
        <c:if test="${fn:substring(order.appointment,11,12)==2}">
      <span>上午 10:30</span>
      </c:if>
        <c:if test="${fn:substring(order.appointment,11,12)==3}">
      <span>下午 14:00</span>
      </c:if>
        <c:if test="${fn:substring(order.appointment,11,12)==4}">
      <span>下午 16:00</span>
      </c:if>
        <c:if test="${fn:substring(order.appointment,11,12)==5}">
      <span>晚上 20:00</span>
      </c:if>
      </span>
     </li>
     
    </ul>
   </dd>
   <dd style="padding:1em 0;">
   <ul>
    <li>
    <span><b>图片：</b></span>
     <c:if test="${order.url!=null}">
    <span><img src="${order.url}" style="width: 25%;height: 20%;"></img></span>
    </c:if>
    <c:if test="${order.url==null}">
    <span>无</span>
    </c:if>
    </li>
    <li>
    <span><b>备注：</b></span>
    <span>${order.remarks}</span>
    </li>
     </ul>
   </dd>
  
   
  
  </dl>
 </div>
</body>
</html>